<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/Result">
		<div class="DataGrid">
			<xsl:attribute name="id">
				<xsl:value-of select="id" />
			</xsl:attribute>
			<table>
				<thead>
					<tr>
						<xsl:for-each select="Columns/Item">
							<th>
								<xsl:value-of select="." />
							</th>
						</xsl:for-each>
					</tr>
				</thead>
				<tbody>
					<xsl:for-each select="Rows/Item">
						<tr>
							<xsl:for-each select="Item">
								<td>
									<xsl:value-of select="." />
								</td>
							</xsl:for-each>
						</tr>
					</xsl:for-each>
				</tbody>
			</table>
		</div>
	</xsl:template>
</xsl:stylesheet>